.co-search {
  height: 120rpx;
  padding: 20rpx 30rpx;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;

  &::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    display: block;
    z-index: 3;
    position: absolute;
    background: #000;
    opacity: .5;
  }

  .co-search-main {
    position: relative;
    z-index: 4;
    display: flex;
    width: 100%;
  }

  .search-box,
  .fav-box {
    display: flex;
    align-items: center;
    height: 70rpx;
  }

  .search-box {
    background-color: #efedee;
    border-radius: 35rpx;
    font-size: 28rpx;
    padding: 0 30rpx;
    flex-grow: 1;

    // margin-right: 40rpx;

    .icon-search {
      font-size: 50rpx;
      margin-right: 10rpx;
      color: #959394;
    }
  }

  .fav-box {
    margin-left: auto;
    border: 1px solid #fff;
    border-radius: 35rpx;
    padding: 10rpx 30rpx;
    font-size: 28rpx;
    color: #fff;

    .iconfont {
      font-size: 34rpx;
      margin-right: 5px;
    }
  }
}

.bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .1);
  overflow: hidden;

  image {
    width: 100%;
  }
}